//  utils/request.js
import {request} from "../utils/request"
//课程搜索
export function searchCourse(params = {}) {
  const { pageNum = 1, pageSize = 10, keyword = '' } = params
  return request({
    url: `/pc/course/search/keyword?keyword=${keyword}&pageNum=${pageNum}&pageSize=${pageSize}`,
    method: 'GET'
  })
}